package com.etlmaster.executor.steps.sql;

import com.etlmaster.executor.Step;
import com.etlmaster.executor.StepMeta;
import com.etlmaster.executor.annotation.StepInstruction;
import com.etlmaster.executor.steps.control.CheckTableStepInterface;
/**
 * @author Wugf
 * @date 2016-03-08
 */
@StepInstruction("chkPartition")
public class CheckPartitionExistStep extends Step implements CheckTableStepInterface{

	private CheckPartitionExistStepMeta meta;
	public CheckPartitionExistStep(StepMeta meta) {
		super(meta);
		this.meta=(CheckPartitionExistStepMeta) meta;
	}

	@Override
	protected int handle() {
		CheckPartitionProcessor processor=new CheckPartitionProcessor();
		return processor.process(meta);
	}

	@Override
	public boolean stop() {
		// TODO Auto-generated method stub
		return false;
	}

}
